package com.bwf.ref;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/5/31 15:35
 * @Copyright 博为峰
 */
public class Student {
    public String name;
    private int age;

    public Student() {
    }

    private Student(String name) {
        this.name = name;
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void m1(String str) {
        System.out.println("str = " + str);
    }

    public void m1(String str, int a) {
        System.out.println("str = " + str);
    }
}
